package code.codeworld.search.web_search.model.vo;

import code.codeworld.record.browse_record.model.BrowseRecord;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.domain.Pageable;

import java.util.Date;


@Getter
@Setter
public class WebSearchResultVo {
    private Pageable pageable;
    private Integer pageNum;
    private Integer pageSize;
    /*ID*/
    private Integer id;
    /*标题*/
    private String title;
    /*来源*/
    private String from;
    /*链接*/
    private String href;
    /*类型*/
    private String type;
    /*子类型*/
    private String subtype;
    /*作者*/
    private String author;
    /*图片 以 \ 符合分割保存 images */ //取第一
    private String images;
    /*简介*/
    private String blurb;
    /*创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /*星数*/
    private Integer starNum;
    /*模块名称 */
    private String moduleName;
    /*分页序号 */
    private Integer autoNum;
}
